/*
 * @Author: early-autumn
 * @Date: 2020-05-26 08:52:40
 * @LastEditors: early-autumn
 * @LastEditTime: 2020-06-02 17:57:38
 */
import {
  appointmentColorOptions,
  appointmentStatusOptions,
  billingProjectStatusOptions,
  billingStatusOptions,
  billingTypeOptions,
  billStatusOptions,
  characterOptions,
  clinchDealBasisOptions,
  consumptionStatusOptions,
  customerStatusOptions,
  economicAbilityOptions,
  entityOptions,
  userBillingStatusOptions,
  frontDeskOrderOptions,
  haveChildOptions,
  maritalStatusOptions,
  phoneOwnershipOptions,
  professionalOptions,
  reachStatusOptions,
  referrerRelationshipOptions,
  returnVisitStatusOptions,
  sexOptions,
  shelvesStatusOptions,
  spendingHabitsOptions,
  sweepCodeStatusOptions,
  temporaryPatientOptions,
  trackingStatusOptions,
  whetherFreeOptions,
  paymentMethodOptions,
  consumeStatusOptions,
  entityAllOptions,
} from '@/utils/options'
import { optionsToEnum } from '@/utils/utils'

/**
 * 用户性别
 */
export const sexEnum = optionsToEnum(sexOptions)

/**
 * 电话所属关系
 */
export const phoneOwnershipEnum = optionsToEnum(phoneOwnershipOptions)

/**
 * 推荐人关系
 */
export const referrerRelationshipEnum = optionsToEnum(
  referrerRelationshipOptions
)

/**
 * 预约事件颜色
 */
export const appointmentColorEnum = optionsToEnum(appointmentColorOptions)

/**
 * 婚姻状况
 */
export const maritalStatusEnum = optionsToEnum(maritalStatusOptions)

/**
 * 有无小孩
 */
export const haveChildEnum = optionsToEnum(haveChildOptions)

/**
 * 客户状态
 */
export const customerStatusEnum = optionsToEnum(customerStatusOptions)

/**
 * 是否临时患者
 */
export const temporaryPatientEnum = optionsToEnum(temporaryPatientOptions)

/**
 * 经济能力
 */
export const economicAbilityEnum = optionsToEnum(economicAbilityOptions)

/**
 * 消费习惯
 */
export const spendingHabitsEnum = optionsToEnum(spendingHabitsOptions)

/**
 * 性格
 */
export const characterEnum = optionsToEnum(characterOptions)

/**
 * 职业
 */
export const professionalEnum = optionsToEnum(professionalOptions)

/**
 * 病种
 */
export const entityEnum = optionsToEnum(entityOptions)

/**
 * 16病种
 */
export const entityAllEnum = optionsToEnum(entityAllOptions)

/**
 * 用户开单状态
 */
export const userBillingStatusEnum = optionsToEnum(userBillingStatusOptions)

/**
 * 扫码状态
 */
export const sweepCodeStatusEnum = optionsToEnum(sweepCodeStatusOptions)

/**
 * 预约状态
 */
export const appointmentStatusEnum = optionsToEnum(appointmentStatusOptions)

/**
 * 跟踪状态
 */
export const trackingStatusEnum = optionsToEnum(trackingStatusOptions)

/**
 * 消费状态
 */
export const consumptionStatusEnum = optionsToEnum(consumptionStatusOptions)

/**
 * 回访状态
 */
export const returnVisitStatusEnum = optionsToEnum(returnVisitStatusOptions)

/**
 * 到店状态
 */
export const reachStatusEnum = optionsToEnum(reachStatusOptions)

/**
 * 上架状态
 */
export const shelvesStatusEnum = optionsToEnum(shelvesStatusOptions)

/**
 * 前台开单
 */
export const frontDeskOrderEnum = optionsToEnum(frontDeskOrderOptions)

/**
 * 是否免费
 */
export const whetherFreeEnum = optionsToEnum(whetherFreeOptions)

/**
 * 成交依据
 */
export const clinchDealBasisEnum = optionsToEnum(clinchDealBasisOptions)

/**
 * 主账单状态
 */
export const billStatusEnum = optionsToEnum(billStatusOptions)

/**
 * 付款单类型
 */
export const billingTypeEnum = optionsToEnum(billingTypeOptions)

/**
 * 付款单状态
 */
export const billingStatusEnum = optionsToEnum(billingStatusOptions)

/**
 * 账单项目状态
 */
export const billingProjectStatusEnum = optionsToEnum(
  billingProjectStatusOptions
)

/**
 * 支付方式
 */
export const paymentMethodEnum = optionsToEnum(paymentMethodOptions)

/**
 * 消费状态
 */
export const consumeStatusEnum = optionsToEnum(consumeStatusOptions)
